package com.ohos.connent.modelcloud.biz.modular.pro.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;

/**
 * @Author: ChenJiaHao
 * @Date: 2024/6/4 18:43
 * @Description:
 */
@Getter
@Setter
public class BizProCategoryDictAddParam {

    /** 父类ID */
    @ApiModelProperty(value = "父类ID", position = 1)
    @NotEmpty(message = "父类ID不能为空")
    private String parentId;

    /** 品类名称 */
    @ApiModelProperty(value = "品类名称", position = 4)
    @NotEmpty(message = "品类名称不能为空")
    private String name;

    /** 同层级时的顺序 */
    @ApiModelProperty(value = "同层级时的顺序", position = 2)
    private Integer sort;

    /** 层级 */
    @ApiModelProperty(value = "层级", position = 3)
    private Integer level;
}
